<?php echo $header; ?>
<div class="box">
    <div class="left"></div>
    <div class="right"></div>
    <div class="heading">
	<h1 style="background-image: url('view/image/feed.png');"><?php echo $heading_title; ?></h1>
	<div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
    </div>
    <div class="content">
	<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
	    <table class="form">
		<tr>
		    <td><?php echo $entry_status; ?></td>
		    <td><select name="latest_products_rss_status">
			    <?php if ($latest_products_rss_status) {
 ?>
    			    <option value="1" selected="selected"><?php echo $text_enabled; ?></option>
    			    <option value="0"><?php echo $text_disabled; ?></option>
<?php } else { ?>
    			    <option value="1"><?php echo $text_enabled; ?></option>
    			    <option value="0" selected="selected"><?php echo $text_disabled; ?></option>
<?php } ?>
			</select></td>
		</tr>
		<tr>
		    <td><?php echo $entry_limit; ?></td>
		    <td><input name="latest_products_rss_limit" value="<?php echo $latest_products_rss_limit ? $latest_products_rss_limit : '100'; ?>"><?php if ($error_limit) { ?>
    			<span class="error"><?php echo $error_limit; ?></span>
<?php } ?></td>
    		</tr>   
    		<tr>
    		    <td><?php echo $entry_data_feed; ?></td>
    		    <td><textarea cols="40" rows="5"><?php echo $data_feed; ?></textarea></td>
    		</tr>
    	    </table>
    	</form>
        </div>
    </div>
<?php echo $footer; ?>